package com.cyt.work.antiepidemic.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * 模板导出
 *
 * @author congcong tao
 * @create 2019/9/3 13:40
 */
@Data
public class AntiepidemicCommunityImportVo implements Serializable {

    @Excel(name = "*建筑物名称")
    @NotBlank(message = "建筑物名称不能为空")
    private String buildingInfo;

    @Excel(name = "*排序")
    @NotNull(message = "排序不能为空")
    private Integer orderNum;

    public AntiepidemicCommunityImportVo() {
    }

    public AntiepidemicCommunityImportVo(String buildingInfo) {
        this.buildingInfo = buildingInfo;
    }
}